Skip to content

Comments

Created "Switch" node for Flow#346

Merged
MothDoctor merged 4 commits intoMothCocoon:5.xfrom
LindyHopperGT:FlowFixesForSwitchMerge
Feb 21, 2026
Merged

Created "Switch" node for Flow#346
MothDoctor merged 4 commits intoMothCocoon:5.xfrom
LindyHopperGT:FlowFixesForSwitchMerge

Conversation

@LindyHopperGT
Copy link
Contributor

@LindyHopperGT LindyHopperGT commented Feb 18, 2026

[Flow] Updated FlowNode_Branch: AND/OR selectability and BranchCase support
Branch node can now be configured with AND/OR for the top-level combination rule (default is still AND)
Branch node can now have BranchCase AddOns at its root addon level, these will be evaluated and can trigger prior to evaluating the root predicates (which serve as the "else" case for this sort of configuration)
BranchCase adds a switch/case-like capability where each BranchCase can have its own output exec pin, if that case's predicates pass
CR - BJarvinen, ECalder

[Flow] Switch Case AddOns' names are authorable
If you set the name, it will match the pin 1:1 (unless duplicates, see below)
Default case name (and pin name) is "Case".
Duplicates are disambiguated with numbers appended.
Sets the title to the pin name, so it's easier to match the pin to the case
CR - JDurica, BJarvinen

@MothDoctor MothDoctor self-assigned this Feb 18, 2026
@MothDoctor MothDoctor changed the title Flow fixes for switch merge Created "Switch" node for Flow Feb 21, 2026
@MothDoctor MothDoctor merged commit 6999b11 into MothCocoon:5.x Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants